#ifndef MYLABEL_H
#define MYLABEL_H

#include <QWidget>
#include<QLabel>
#include<QMouseEvent>
#include<mainwindow.h>

class mylabel : public QLabel
{
    Q_OBJECT
public:
    explicit mylabel(QWidget *parent = nullptr);

    //鼠标点击
    void mousePressEvent(QMouseEvent *ev);
    //鼠标释放
    void mouseReleaseEvent(QMouseEvent *ev);
    //鼠标移动
    void mouseMoveEvent(QMouseEvent *ev);


signals:

};


#endif // MYLABEL_H
